package com.yuting.model;

import java.io.Serializable;
import java.security.SecureRandomParameters;

/**
 * 这个类主要是传输学生账号登之后的服务信息
 * @author cyt
 * @date 2020/7/2
 */
public class StudentFunctionMessage implements Serializable {
    private static final long serialVersionUID = -7216030932950013101L;

    private String type;

    private int score;

    public StudentFunctionMessage(String type, int score) {
        this.type = type;
        this.score = score;
    }

    public StudentFunctionMessage(String type, String question) {
        this.type = type;
        this.question = question;
    }

    private String question;

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    private String answer;

    public StudentFunctionMessage(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "StudentFunctionMessage{" +
                "type='" + type + '\'' +
                ", score=" + score +
                ", question='" + question + '\'' +
                ", answer='" + answer + '\'' +
                '}';
    }
}
